package com.ibeeking.found.org.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @ClassName EmployeePositionRelDO
 * @Description
 * @Author ibeeking
 * @Date 2021-01-06 10:42
 **/
@ToString(callSuper=true)
@Data
@TableName("employee_position_rel")
public class EmployeePositionRelDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 部门id
     */
    @TableField(value = "employee_id")
    private Long employeeId;
    /**
     * 部门id
     */
    @TableField(value = "position_id")
    private Long positionId;

}
